package com.zangchat.service;

import com.egzosn.pay.ali.api.AliPayConfigStorage;
import com.egzosn.pay.common.api.PayService;
import com.egzosn.pay.common.bean.PayOrder;
import com.egzosn.pay.wx.api.WxPayConfigStorage;
import com.zangchat.config.WxPayDataConfig;
import com.zangchat.domain.ChatUsersRecharge;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * 用户充值 服务层
 *
 * @author wudi
 * @date 2020-07-17
 */
public interface IChatUsersRechargeService extends IService<ChatUsersRecharge>
{
    public AliPayConfigStorage createAliPayConfigStorage();
    public PayService initAliPayService();
    public PayOrder initPayOrder(String orderNo, BigDecimal cash, Integer payType);
    public WxPayConfigStorage createWxPayConfigStorage();
    public PayService initWxPayService() ;

    void doNotifyUrl(String outTradeNo, String totalAmount , int i);
}